using Magic.Oidc.MvcClient;
using Magic.Oidc.MvcClient.Models;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using OpenIddict.Client;
using OpenIddict.Validation.AspNetCore;
using Quartz;
using static OpenIddict.Abstractions.OpenIddictConstants;



using Magic.Oidc.MvcClient.Extensions;

var builder = WebApplication.CreateBuilder(args).SetupServices();
var app = builder.Build().SetupMiddlewares();
app.Run();
